/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author hancing
 */
import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';

const { adminPath } = useGlobSetting();

export const getPatternLatestStatics = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/pattern/getLatestStatics', params });

export const getMarketViewSectors = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/sectors/getLatestStatics', params });

export const getMarketStrongStocks = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/strongstock/getLatestStatics', params });

export const getSectorDistribute = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/disbute/sector-distribute', params });

export const getStockSectorDistribute = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/disbute/stock-sector-distribute', params });


export const getStockSignalList = (params?: any) =>
  defHttp.get<Recordable>({ url: adminPath + '/dp/market/disbute/getStockSignalList', params });


